package dto

import "admin/utils/pagination"

// PermissionListReq 权限列表请求结构体
type PermissionListReq struct {
	pagination.PageInfo
	Keyword string `json:"keyword"`
}

// PermissionDto
type PermissionDto struct {
	Code   string `json:"code" binding:"required"`
	Name   string `json:"name" binding:"required"`
	Path   string `json:"path" binding:"required"`
	Method string `json:"method" binding:"required"`
}
